﻿using System;
class SortListAlphabet
{
    static void Main()
    {
        string text = "ABBA own making In the future lamal Environmental destruction will be the nor";
        string[] words = text.Split(new char[] { ' ', ',' }, StringSplitOptions.RemoveEmptyEntries);
        Array.Sort(words);
        Console.WriteLine("text is:");
        Console.WriteLine(text);
        Console.WriteLine();
        Console.WriteLine("sorted words:");
        for (int i = 0; i < words.Length; i++)
        {
            Console.WriteLine(words[i]);
        }
        Console.ReadLine();
    }
}

